<!--#include file="../inc/conn.asp"-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />

<link href="css/select.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="ui/jquery.js"></script>




</head>



<body>

	
    
    <div class="formbody">

 
  	  <table width="100%" class="layui-table">
    	<thead>
    	<tr>
        <th>时间</th>
        <th>奖品</th>
        <th>抽奖用户</th>
         <th>是否领取</th>
        <th>操作</th>
        </tr>
        </thead>
       
        <%
   sql="select * from [lottery_list] where type=1 and lot_title='"&request("title")&"' order by id desc"
  rst.open sql,conn,1,1
  do while not rst.eof
  %>
  
        <tr>
         <td><%=rst("intime")%></td>
    <td><%=rst("jp")%></td>
    <td><%= rst("uid")%> </td>
  <td><%if rst("islq")="1" then
  response.Write "<font color=blue>已领取</font>"
  else
  response.Write "<font color=red>未领取</font>"
  end if
  %> </td>
          
          <td>  
            <a href="javascript:void(0)"  onclick="del('lottery_list',<%=rst("id")%>)" >
  <button class="layui-btn layui-btn-sm">
    <i class="layui-icon">&#xe640;</i>
  </button></a>
  
   
<button class="layui-btn layui-btn-sm" onclick="tc('领取登记','lottery_audit.asp?id=<%=rst("id")%>',500,300)">
   领取登记
  </button>
           
          </td>
        </tr> 
        </form>
        <%rst.movenext
		loop
		rst.close%>
       
    </table>
    
   
  
    
    </div>  
       

   <link rel="stylesheet" href="ui/css/layui.css" type="text/css"  />

<script type="text/javascript" src="ui/layui.js"></script>
<script type="text/javascript" src="ui/main.js?1"></script>

   
</body>

</html>
